Release 10.1A: OpenEdge Development:
Messaging and ESB
Request/Reply
Request/Reply is a mechanism for the
Note: The term destination refers to both topics and queues.JMSReplyTomessage header field to specify the destination where replies to a message should be sent. To specify the message destination, use the requestReply procedure.Java–JMS supports a manual approach through the
JMSReplyTofield, whereas the 4GL-JMS implementation automates the request/reply sequence by:
- Sending a reply by setting the
replyoutput parameter of the message handler.- Requesting a reply by calling the requestReply procedure with a handle to a Message Consumer for the reply.
The 4GL-JMS implementation uses a temporary destination for the reply. It is an error to set the
JMSReplyTofield of the message explicitly if requestReply procedure is used. The reply is received by the Message Consumer asynchronously, just like any other message. The temporary destination is deleted when the Message Consumer object is deleted.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |